package com.creatshare.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.creatshare.bean.Project;

public interface ProjectDao {
	int deleteByPrimaryKey(@Param(value = "projectid") Integer projectid);

	int insert(Project project);

	Project selectByPrimaryKey(@Param(value = "projectid") Integer projectid);

	int updateByPrimaryKey(Project project);

	List<Project> getProjectByCategory(@Param(value = "projectcategoryid") int projectcategoryid);

	int getProjectRecordByCategory(int projectcategoryid);
}
